module.exports = app => {
    const login = require("../controllers/login.controller.js");
    var router = require("express").Router();
    router.get('/', login.findOne);

    app.use('/api/login', router);
}